package com.ad.blogger.entity;

import java.util.Date;

/**
 * Order entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Order implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer weiboAccountId;
	private Integer adId;
	private Double price;
	private Date startTime;
	private Integer orderStatus;
	private Date createTime;

	// Constructors

	/** default constructor */
	public Order() {
	}

	/** minimal constructor */
	public Order(Integer weiboAccountId, Integer adId, Double price,
			Date startTime) {
		this.weiboAccountId = weiboAccountId;
		this.adId = adId;
		this.price = price;
		this.startTime = startTime;
	}

	/** full constructor */
	public Order(Integer weiboAccountId, Integer adId, Double price,
			Date startTime, Integer orderStatus, Date createTime) {
		this.weiboAccountId = weiboAccountId;
		this.adId = adId;
		this.price = price;
		this.startTime = startTime;
		this.orderStatus = orderStatus;
		this.createTime = createTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getWeiboAccountId() {
		return this.weiboAccountId;
	}

	public void setWeiboAccountId(Integer weiboAccountId) {
		this.weiboAccountId = weiboAccountId;
	}

	public Integer getAdId() {
		return this.adId;
	}

	public void setAdId(Integer adId) {
		this.adId = adId;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Date getStartTime() {
		return this.startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Integer getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}